import React,{Component} from "react";
import Check from "./check"


class Allmoney extends Component {
    render(){
        let {allFlg,allPrice}=this.props;
        return <div className="allMoney">
                <Check typeIndex={-1} listIndex={-1} content={"全选"} flg={allFlg}/>
                <div className="alls">
                    <h2>需要支付:<span>{allPrice}</span></h2>
                    <p>结算</p>
                </div>
        </div>
    }
}
export default Allmoney;